export default {
  getArticles(state, data) {
    state.aritclesLis = data;
  },
  get_articles_detail(state, data) {
    state.aritcleDetail = state.aritclesLis.find(rec => rec.id === data);
  },
};
